package com.aloda.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "template.token")
@Data
public class TokenProperties {

    /**
     * 用户token名
     */
    private String userTokenName;

    /**
     * 用户token过期时间
     */
    private Integer userTokenTimeout;

    /**
     * 用户默认密码
     */
    private String userDefaultPassword;
}
